package day1128;

public class T8 {
    public static void main(String[] args) {
        int num=153;
        //2.
        int b=num/100%10;
        int s=num/10%10;
        int g=num/1%10;
        char rs1=(b*b*b +s*s*s  + g*g*g == num  )?  '是'   :'否';
        boolean rs2=(b*b*b +s*s*s  + g*g*g == num  )?  true   : false;
        int rs3=(b*b*b +s*s*s  + g*g*g == num  )?  1   : 0;
        System.out.println(rs3==1? "是" : "否");
    }
}
